// generate certain distribution for gps

void dis(){
  ofstream f("../g4/config/plot2.txt");
  const int n = 50;
  double mx = TMath::Pi();
  double x, d = mx/n;
  for(int i = 1; i < n; i++){
    x = i*d;
    f << "/gps/hist/point " << x << ' ' << 1. << endl;
    // f << x << ' ' << 1./sin(x) << endl;
  } // end for over i
} // end main function
